package com.wu.common.convertion.errorcode;

public enum CollectErrorCode implements IErrorCode {

    COLLECT_SAVE_ERROR("B000001", "收藏保存失败"),
    COLLECT_DELETE_ERROR("B000002", "收藏删除失败");
    private final String code;

    private final String message;

    CollectErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
